﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace dotNetTraining.ASP_NET
{
    public partial class _Default : Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lblInfo.Text = "Session: UserName :" + Session["username"] + " password: " + Session["password"] ;
            Label1.Text += "Cookies: UserName :" + Request.Cookies["username"].Value + " password: " + Request.Cookies["password"].Value;
            Label2.Text += "Application: UserName :" + Application["username"] + " password: " + Application["password"];          
        }
    }
}